﻿<%@Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<WEBDT.ViewModel.DienThoaiModel>" %>

<link href="../../../../Content/style.css" />

<form id="form" enctype="multipart/form-data" method="post">
    <fieldset id="Account">
        <input  name="masp" type="hidden" value="<%=Model.MaSP %>" />
        <div class="elem">
            <label for="tensp">Tên SP</label>
            <input id="tensp" name="tensp" type="text" value="<%=Model.TenSP %>" />
        </div>
        <div class="elem">
            <label for="danhgia">Đánh giá</label>
            <input id="danhgia" name="danhgia" type="text" value="<%=Model.DanhGia %>" />
        </div>
        <div class="elem">
            <label for="image">Image</label>
            <input id="image" name="image" type="file" value="<%=Model.LinkImage %>" />
        </div>
        <div class="elem">
            <label>Loại SP </label>
            <%=Html.DropDownList("maloai",(IEnumerable<SelectListItem>) ViewData["maloai"]) %> 
        </div>
        <div class="elem">
            <label>Nhà sản xuất </label>
            <%=Html.DropDownList("mansx",(IEnumerable<SelectListItem>) ViewData["mansx"]) %> 
        </div>
        <div class="elem">
            <label for="dongia">Đơn giá</label>
            <input id="dongia" name="dongia" type="text" value="<%=Model.DonGia %>" />
        </div>
        <div class="elem">
            <label for="soluong">Số lượng</label>
            <input id="soluong" name="soluong" type="text" value="<%=Model.SoLuong %>" />
        </div>
        <div class="elem">
            <label for="luotxem">Lượt xem</label>
            <input id="luotxem" name="luotxem" type="text" value="<%=Model.LuotXem %>" />
        </div>
        <div class="elem">
            <label for="selloff">Sell off</label>
            <input id="selloff" name="selloff" type="text" value="<%=Model.Selloff %>" />
        </div>
        <div class="elem">
            <label for="baohanh">Time BH</label>
            <input id="baohanh" name="baohanh" type="text" value="<%=Model.TimeBH %>" />
        </div>
    </fieldset>


    <fieldset> thong tin chi tiet
        <div class="elem">
            <label for="mayanh">Máy ảnh</label>
            <input id="mayanh" name="mayanh" type="text" value="<%=Model.Mayanh %>" />
        </div>
        <div class="elem">
            <label for="quayphim">Quay phim</label>
            <input id="quayphim" name="quayphim" type="text" value="<%=Model.quayphim %>" />
        </div>
        <div class="elem">
            <label for="nghenhac">Nghe nhạc</label>
            <input id="nghenhac" name="nghenhac" type="text" value="<%=Model.nghenhac %>" />
        </div>
        <div class="elem">
            <label for="xemphim">Xem phim</label>
            <input id="xemphim" name="xemphim" type="text" value="<%=Model.xemphim %>" />
        </div>
        <div class="elem">
            <label for="trochoi">trò chơi</label>
            <input id="trochoi" name="trochoi" type="text" value="<%=Model.trochoi %>" />
        </div>
        <div class="elem">
            <label for="loangoai">loa ngoài</label>
            <input name="loangoai" type="radio" checked value="Co" />Có
            <input name="loangoai" type="radio" value="Khong" />Không
        </div>
        <div class="elem">
            <label for="ghiam">Ghi âm</label>
            <input name="ghiam" type="radio" checked value="Co" />Có
            <input name="ghiam" type="radio" value="Khong" />Không
        </div>
        <div class="elem">
            <label for="ungdungvp ">ứng dụng văn phongf</label>
            <input id="ungdungvp" name="ungdungvp" type="text" value="<%=Model.ungdungvp %>" />
        </div>
        <div class="elem">
            <label for="loainhacchuong ">Loại nhạc chuông</label>
            <input id="loainhacchuong" name="loainhacchuong" type="text" value="<%=Model.loainhacchuong %>" />
        </div>
        <div class="elem">
            <label for="tainhac">tai nhac</label>
            <input id="tainhac" name="tainhac" type="text" value="<%=Model.tainhac %>" />
        </div>
        <div class="elem">
            <label for="bonhotrong">Bộ nhớ trong</label>
            <input id="bonhotrong" name="bonhotrong" type="text" value="<%=Model.bonhotrong %>" />
        </div>
        <div class="elem">
            <label for="thenhongoai">thẻ nhớ ngoài</label>
            <input id="thenhongoai" name="thenhongoai" type="text" value="<%=Model.thenhongoai %>" />
        </div>
        <div class="elem">
            <label for="danhbadt">Danh bạ</label>
            <input id="danhbadt" name="danhbadt" type="text" value="<%=Model.danhbadt %>" />
        </div>
        
        <div class="elem">
            <label for="tinnhan">Tin nhắn</label>
            <input id="tinnhan" name="tinnhan" type="text" value="<%=Model.tinnhan %>" />
        </div>
        <div class="elem">
            <label for="gprs">GPRS</label>
            <input name="gprs" type="radio" checked value="Co" />Có
            <input name="gprs" type="radio" value="Khong" />Không
        </div>

        <div class="elem">
            <label for="bag">Bag</label>
            <input id="bag" name="bag" type="text" value="<%=Model.bag %>" />
        </div>

        <div class="elem">
            <label for="wifi">Wifi </label>
            <input name="wifi" type="radio" checked value="Co" />Có
            <input name="wifi" type="radio" value="Khong" />Không
        </div>
        <div class="elem">
            <label for="gps">GPS</label>
            <input name="gps" type="radio" checked value="Co" />Có
            <input name="gps" type="radio" value="Khong" />Không
        </div>
        <div class="elem">
            <label for="loaimh">Loại màn hình</label>
            <input id="loaimh" name="loaimh" type="text" value="<%=Model.loaimh %>" />
        </div>
        <div class="elem">
            <label for="kichthuocmh">kích thước màn hình</label>
            <input id="kichthuocmh" name="kichthuocmh" type="text" value="<%=Model.kichthuocmh %>" />
        </div>
        <div class="elem">
            <label for="camung">Cảm ứng</label>
            <input name="camung" type="radio" checked value="Co" />Có
            <input name="camung" type="radio" value="Khong" />Không
        </div>

        <div class="elem">
            <label for="loaipin">Loại pin</label>
            <input id="loaipin" name="loaipin" type="text" value="<%=Model.loaipin %>" />
        </div>
        <div class="elem">
            <label for="thoigiancho">thời gian chờ</label>
            <input id="thoigiancho" name="thoigiancho" type="text" value="<%=Model.thoigiancho %>" />
        </div>
        <div class="elem">
            <label for="thoigianthoai">thời gian thoại</label>
            <input id="thoigianthoai" name="thoigianthoai" type="text" value="<%=Model.thoigianthoai %>" />
        </div>
        <div class="elem">
            <label for="kichthuocmay">kích thước máy</label>
            <input id="kichthuocmay" name="kichthuocmay" type="text" value="<%=Model.kichthuocmay %>" />
        </div>
        <div class="elem">
            <label for="trongluong">trọng lượng</label>
            <input id="trongluong" name="trongluong" type="text" value="<%=Model.trongluong %>" />
        </div>
        <div class="elem">
            <label for="hedieuhanh">hệ điều hành</label>
            <input id="hedieuhanh" name="hedieuhanh" type="text" value="<%=Model.hedieuhanh %>" />
        </div>
 
    </fieldset>
        <button type="submit">Save</button>
        <button type="reset">Reset</button>
</form>